import request from '@/utils/request'

// 查询跟进列表
export function listFollow(query) {
  return request({
    url: '/travel/follow/list',
    method: 'get',
    params: query
  })
}

// 查询跟进详细
export function getFollow(orderFollowId) {
  return request({
    url: '/travel/follow/' + orderFollowId,
    method: 'get'
  })
}

// 新增跟进
export function addFollow(data) {
  return request({
    url: '/travel/follow',
    method: 'post',
    data: data
  })
}

export function listAllFollow(query) {
  return request({
    url: '/travel/follow/listAll',
    method: 'get',
    params: query
  })
}